package com.wistech.commons.dao.mongo.spring;

import org.bson.types.ObjectId;
import org.springframework.core.convert.converter.Converter;

public class ObjectIdToStringConverter implements Converter<ObjectId, String> {
	@Override
	public String convert(ObjectId source) {
		return source.toString();
	}

}
